package com.xyz.entity.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class SpecialEmPipingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SpecialEmPipingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNull() {
            addCriterion("device_name is null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNotNull() {
            addCriterion("device_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameEqualTo(String value) {
            addCriterion("device_name =", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotEqualTo(String value) {
            addCriterion("device_name <>", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThan(String value) {
            addCriterion("device_name >", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThanOrEqualTo(String value) {
            addCriterion("device_name >=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThan(String value) {
            addCriterion("device_name <", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThanOrEqualTo(String value) {
            addCriterion("device_name <=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLike(String value) {
            addCriterion("device_name like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotLike(String value) {
            addCriterion("device_name not like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIn(List<String> values) {
            addCriterion("device_name in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotIn(List<String> values) {
            addCriterion("device_name not in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameBetween(String value1, String value2) {
            addCriterion("device_name between", value1, value2, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotBetween(String value1, String value2) {
            addCriterion("device_name not between", value1, value2, "deviceName");
            return (Criteria) this;
        }

        public Criteria andPipeCodeIsNull() {
            addCriterion("pipe_code is null");
            return (Criteria) this;
        }

        public Criteria andPipeCodeIsNotNull() {
            addCriterion("pipe_code is not null");
            return (Criteria) this;
        }

        public Criteria andPipeCodeEqualTo(String value) {
            addCriterion("pipe_code =", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeNotEqualTo(String value) {
            addCriterion("pipe_code <>", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeGreaterThan(String value) {
            addCriterion("pipe_code >", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pipe_code >=", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeLessThan(String value) {
            addCriterion("pipe_code <", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeLessThanOrEqualTo(String value) {
            addCriterion("pipe_code <=", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeLike(String value) {
            addCriterion("pipe_code like", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeNotLike(String value) {
            addCriterion("pipe_code not like", value, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeIn(List<String> values) {
            addCriterion("pipe_code in", values, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeNotIn(List<String> values) {
            addCriterion("pipe_code not in", values, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeBetween(String value1, String value2) {
            addCriterion("pipe_code between", value1, value2, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andPipeCodeNotBetween(String value1, String value2) {
            addCriterion("pipe_code not between", value1, value2, "pipeCode");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNull() {
            addCriterion("department is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNotNull() {
            addCriterion("department is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentEqualTo(Integer value) {
            addCriterion("department =", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotEqualTo(Integer value) {
            addCriterion("department <>", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThan(Integer value) {
            addCriterion("department >", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("department >=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThan(Integer value) {
            addCriterion("department <", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThanOrEqualTo(Integer value) {
            addCriterion("department <=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentIn(List<Integer> values) {
            addCriterion("department in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotIn(List<Integer> values) {
            addCriterion("department not in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentBetween(Integer value1, Integer value2) {
            addCriterion("department between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotBetween(Integer value1, Integer value2) {
            addCriterion("department not between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andEmLocationIsNull() {
            addCriterion("em_location is null");
            return (Criteria) this;
        }

        public Criteria andEmLocationIsNotNull() {
            addCriterion("em_location is not null");
            return (Criteria) this;
        }

        public Criteria andEmLocationEqualTo(String value) {
            addCriterion("em_location =", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotEqualTo(String value) {
            addCriterion("em_location <>", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationGreaterThan(String value) {
            addCriterion("em_location >", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationGreaterThanOrEqualTo(String value) {
            addCriterion("em_location >=", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationLessThan(String value) {
            addCriterion("em_location <", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationLessThanOrEqualTo(String value) {
            addCriterion("em_location <=", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationLike(String value) {
            addCriterion("em_location like", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotLike(String value) {
            addCriterion("em_location not like", value, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationIn(List<String> values) {
            addCriterion("em_location in", values, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotIn(List<String> values) {
            addCriterion("em_location not in", values, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationBetween(String value1, String value2) {
            addCriterion("em_location between", value1, value2, "emLocation");
            return (Criteria) this;
        }

        public Criteria andEmLocationNotBetween(String value1, String value2) {
            addCriterion("em_location not between", value1, value2, "emLocation");
            return (Criteria) this;
        }

        public Criteria andPipeLengthIsNull() {
            addCriterion("pipe_length is null");
            return (Criteria) this;
        }

        public Criteria andPipeLengthIsNotNull() {
            addCriterion("pipe_length is not null");
            return (Criteria) this;
        }

        public Criteria andPipeLengthEqualTo(String value) {
            addCriterion("pipe_length =", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthNotEqualTo(String value) {
            addCriterion("pipe_length <>", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthGreaterThan(String value) {
            addCriterion("pipe_length >", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthGreaterThanOrEqualTo(String value) {
            addCriterion("pipe_length >=", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthLessThan(String value) {
            addCriterion("pipe_length <", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthLessThanOrEqualTo(String value) {
            addCriterion("pipe_length <=", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthLike(String value) {
            addCriterion("pipe_length like", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthNotLike(String value) {
            addCriterion("pipe_length not like", value, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthIn(List<String> values) {
            addCriterion("pipe_length in", values, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthNotIn(List<String> values) {
            addCriterion("pipe_length not in", values, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthBetween(String value1, String value2) {
            addCriterion("pipe_length between", value1, value2, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andPipeLengthNotBetween(String value1, String value2) {
            addCriterion("pipe_length not between", value1, value2, "pipeLength");
            return (Criteria) this;
        }

        public Criteria andInstalUnitIsNull() {
            addCriterion("Instal_unit is null");
            return (Criteria) this;
        }

        public Criteria andInstalUnitIsNotNull() {
            addCriterion("Instal_unit is not null");
            return (Criteria) this;
        }

        public Criteria andInstalUnitEqualTo(String value) {
            addCriterion("Instal_unit =", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitNotEqualTo(String value) {
            addCriterion("Instal_unit <>", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitGreaterThan(String value) {
            addCriterion("Instal_unit >", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitGreaterThanOrEqualTo(String value) {
            addCriterion("Instal_unit >=", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitLessThan(String value) {
            addCriterion("Instal_unit <", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitLessThanOrEqualTo(String value) {
            addCriterion("Instal_unit <=", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitLike(String value) {
            addCriterion("Instal_unit like", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitNotLike(String value) {
            addCriterion("Instal_unit not like", value, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitIn(List<String> values) {
            addCriterion("Instal_unit in", values, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitNotIn(List<String> values) {
            addCriterion("Instal_unit not in", values, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitBetween(String value1, String value2) {
            addCriterion("Instal_unit between", value1, value2, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andInstalUnitNotBetween(String value1, String value2) {
            addCriterion("Instal_unit not between", value1, value2, "instalUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationIsNull() {
            addCriterion("specification is null");
            return (Criteria) this;
        }

        public Criteria andSpecificationIsNotNull() {
            addCriterion("specification is not null");
            return (Criteria) this;
        }

        public Criteria andSpecificationEqualTo(String value) {
            addCriterion("specification =", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationNotEqualTo(String value) {
            addCriterion("specification <>", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationGreaterThan(String value) {
            addCriterion("specification >", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationGreaterThanOrEqualTo(String value) {
            addCriterion("specification >=", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationLessThan(String value) {
            addCriterion("specification <", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationLessThanOrEqualTo(String value) {
            addCriterion("specification <=", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationLike(String value) {
            addCriterion("specification like", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationNotLike(String value) {
            addCriterion("specification not like", value, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationIn(List<String> values) {
            addCriterion("specification in", values, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationNotIn(List<String> values) {
            addCriterion("specification not in", values, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationBetween(String value1, String value2) {
            addCriterion("specification between", value1, value2, "specification");
            return (Criteria) this;
        }

        public Criteria andSpecificationNotBetween(String value1, String value2) {
            addCriterion("specification not between", value1, value2, "specification");
            return (Criteria) this;
        }

        public Criteria andEmRegionIsNull() {
            addCriterion("em_region is null");
            return (Criteria) this;
        }

        public Criteria andEmRegionIsNotNull() {
            addCriterion("em_region is not null");
            return (Criteria) this;
        }

        public Criteria andEmRegionEqualTo(String value) {
            addCriterion("em_region =", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionNotEqualTo(String value) {
            addCriterion("em_region <>", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionGreaterThan(String value) {
            addCriterion("em_region >", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionGreaterThanOrEqualTo(String value) {
            addCriterion("em_region >=", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionLessThan(String value) {
            addCriterion("em_region <", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionLessThanOrEqualTo(String value) {
            addCriterion("em_region <=", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionLike(String value) {
            addCriterion("em_region like", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionNotLike(String value) {
            addCriterion("em_region not like", value, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionIn(List<String> values) {
            addCriterion("em_region in", values, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionNotIn(List<String> values) {
            addCriterion("em_region not in", values, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionBetween(String value1, String value2) {
            addCriterion("em_region between", value1, value2, "emRegion");
            return (Criteria) this;
        }

        public Criteria andEmRegionNotBetween(String value1, String value2) {
            addCriterion("em_region not between", value1, value2, "emRegion");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeIsNull() {
            addCriterion("register_code is null");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeIsNotNull() {
            addCriterion("register_code is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeEqualTo(String value) {
            addCriterion("register_code =", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeNotEqualTo(String value) {
            addCriterion("register_code <>", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeGreaterThan(String value) {
            addCriterion("register_code >", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeGreaterThanOrEqualTo(String value) {
            addCriterion("register_code >=", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeLessThan(String value) {
            addCriterion("register_code <", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeLessThanOrEqualTo(String value) {
            addCriterion("register_code <=", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeLike(String value) {
            addCriterion("register_code like", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeNotLike(String value) {
            addCriterion("register_code not like", value, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeIn(List<String> values) {
            addCriterion("register_code in", values, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeNotIn(List<String> values) {
            addCriterion("register_code not in", values, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeBetween(String value1, String value2) {
            addCriterion("register_code between", value1, value2, "registerCode");
            return (Criteria) this;
        }

        public Criteria andRegisterCodeNotBetween(String value1, String value2) {
            addCriterion("register_code not between", value1, value2, "registerCode");
            return (Criteria) this;
        }

        public Criteria andCheckAccountIsNull() {
            addCriterion("check_account is null");
            return (Criteria) this;
        }

        public Criteria andCheckAccountIsNotNull() {
            addCriterion("check_account is not null");
            return (Criteria) this;
        }

        public Criteria andCheckAccountEqualTo(String value) {
            addCriterion("check_account =", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountNotEqualTo(String value) {
            addCriterion("check_account <>", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountGreaterThan(String value) {
            addCriterion("check_account >", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountGreaterThanOrEqualTo(String value) {
            addCriterion("check_account >=", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountLessThan(String value) {
            addCriterion("check_account <", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountLessThanOrEqualTo(String value) {
            addCriterion("check_account <=", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountLike(String value) {
            addCriterion("check_account like", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountNotLike(String value) {
            addCriterion("check_account not like", value, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountIn(List<String> values) {
            addCriterion("check_account in", values, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountNotIn(List<String> values) {
            addCriterion("check_account not in", values, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountBetween(String value1, String value2) {
            addCriterion("check_account between", value1, value2, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andCheckAccountNotBetween(String value1, String value2) {
            addCriterion("check_account not between", value1, value2, "checkAccount");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateIsNull() {
            addCriterion("next_check_date is null");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateIsNotNull() {
            addCriterion("next_check_date is not null");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateEqualTo(Date value) {
            addCriterionForJDBCDate("next_check_date =", value, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("next_check_date <>", value, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateGreaterThan(Date value) {
            addCriterionForJDBCDate("next_check_date >", value, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("next_check_date >=", value, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateLessThan(Date value) {
            addCriterionForJDBCDate("next_check_date <", value, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("next_check_date <=", value, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateIn(List<Date> values) {
            addCriterionForJDBCDate("next_check_date in", values, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("next_check_date not in", values, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("next_check_date between", value1, value2, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andNextCheckDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("next_check_date not between", value1, value2, "nextCheckDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateIsNull() {
            addCriterion("used_date is null");
            return (Criteria) this;
        }

        public Criteria andUsedDateIsNotNull() {
            addCriterion("used_date is not null");
            return (Criteria) this;
        }

        public Criteria andUsedDateEqualTo(Date value) {
            addCriterionForJDBCDate("used_date =", value, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("used_date <>", value, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateGreaterThan(Date value) {
            addCriterionForJDBCDate("used_date >", value, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("used_date >=", value, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateLessThan(Date value) {
            addCriterionForJDBCDate("used_date <", value, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("used_date <=", value, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateIn(List<Date> values) {
            addCriterionForJDBCDate("used_date in", values, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("used_date not in", values, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("used_date between", value1, value2, "usedDate");
            return (Criteria) this;
        }

        public Criteria andUsedDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("used_date not between", value1, value2, "usedDate");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}